package com.xiaoxing.login.mvp.ui.adapter;

import android.support.annotation.Nullable;
import android.content.Context;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xiaoxing.login.mvp.model.entity.Nearby;
import com.xiaoxing.login.mvp.ui.entity.ShopSelect;

import java.util.List;

import com.xiaoxing.login.R;


public class ShopSelectAdapter extends BaseQuickAdapter<Nearby.DataBean, BaseViewHolder> {

    private Context mContext;

    public ShopSelectAdapter(Context context, @Nullable List<Nearby.DataBean> data) {
        super(R.layout.item_shop_select, data);
        this.mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, Nearby.DataBean item) {

        helper.setText(R.id.tv_shop_name, item.getShop_name());
    }

}
